Skip to content

Conversation

EricHayter
Copy link
Contributor

Implements the GEORADIUS_RO command which is a read-only variant of the existing GEORADIUS command. Resolves #3882.

Command documentation can be found here.

Implements the GEORADIUS_RO redis command which is a read-only variant of the existing GEORADIUS command.

Signed-off-by: Eric <hayter.eric@gmail.com>
@EricHayter
Copy link
Contributor Author

EricHayter commented Aug 16, 2025

Not sure what additional tests would make sense here, since this command is essentially a strict subset of GEORADIUS and most of the core logic is already covered. I will add some miscellaneous tests to cover argument handling.

Since the main functionality of the command has already been tested in
the existing GEORADIUS tests, only smaller tests were added to ensure
that all arguments associated with the store/write operations of
GEORADIUS command are invalid.

Signed-off-by: Eric <hayter.eric@gmail.com>
Updated logic in parsing of arguments such that arguments for RO variants are not duplicated with the write version

Signed-off-by: Eric <hayter.eric@gmail.com>
@EricHayter EricHayter requested a review from dranikpg August 19, 2025 11:45
Signed-off-by: Eric <hayter.eric@gmail.com>
@EricHayter EricHayter marked this pull request as ready for review August 24, 2025 16:28
@BorysTheDev BorysTheDev merged commit 4616561 into dragonflydb:main Aug 25, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

implement GEORADIUS_RO
3 participants